#!/bin/sh

brew -v > /dev/null
if [[ $? != 0 ]]
then
  echo "请先安装brew，再执行该脚本"
  exit
fi

#bochs模拟器
brew install bochs
#bochs模拟器窗口组件
brew install sdl
#nasm编译器
brew install nasm